home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 02 - 1986 / 02.11 Nov 86.sit / 02.11 Nov 86 / Gordon's C ok / Sources / ed.h < prev    next >
Encoding:
C/C++ Source or Header  |  1986-09-13  |  422 b   |  34 lines  |  [TEXT/KAHL]

  1. /*
  2.  * ed.h
  3.  *        definitions for edit functions
  4.  */
  5.  
  6. #include    "quickdraw.h"
  7.  
  8. #define    edFont    0
  9. #define    edSize    1
  10. #define    edStyle    2
  11.  
  12. #define    Capbit    128
  13. #define    Supbit    256
  14. #define    Subbit    512
  15.  
  16. struct edstruct
  17.     {
  18.     GrafPtr        edport;
  19.     Rect        edrect;
  20.     short        face[3];
  21.     short        cface[3];
  22.     short        supsub;
  23.     short        linenum;
  24.     char        cesc;
  25.     char        chars[1000];
  26.     short        cndx;
  27.     };
  28.     
  29. typedef    struct edstruct    edrec;
  30. typedef    edrec *edpointer;
  31.  
  32.  
  33.  
  34.